Let
Put t=x5
dt=5x4dx
Putting
A(t+1)+Bt=1
Now put t+1=0
t=-1
A(0)+B(-1)=1
B=-1
Now put t=0
A(0+1)+B(0)=1
A=1